Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUGFIX #820 createDrawingShape stopped working in 1.1.0 #829

Closed
wants to merge 5 commits into from

Conversation

kw-pr
Copy link
Contributor

@kw-pr kw-pr commented Nov 27, 2024

Added setContainer in ShapeCollection::addShape().

Description

Fixes #820 createDrawingShape stopped working in 1.1.0

See #820 (comment) for details.

Checklist:

  • My CI is (almost) 🟢
  • I have covered by unit tests my new code (check build/coverage for coverage report)
  • I have updated the documentation to describe the changes
  • I have updated the changelog

I think tests and documentation is not needed for this.

Added setContainer in ShapeCollection::addShape().
@kw-pr
Copy link
Contributor Author

kw-pr commented Nov 28, 2024

Ok, I believe the other ci errors are from other commits.

CS Fixer has many complaints because of blank_line_after_opening_tag

Unit test for Writer\PowerPoint2007 have some changed IDs. I believe that's from replacing the iterator with the for each loop (other commits from v1.1.0). Iteration looks better with the new version.

Deploy fails because of unit tests errors.

Check samples throws:
undefined method PhpOffice\PhpPresentation\Shape\Drawing\File::getPlotArea()

Not sure about this one. Wasn't me :)

@kw-pr
Copy link
Contributor Author

kw-pr commented Dec 10, 2024

Doh, this does not work.
With this patch "PowerPoint found a problem".
Works only Libre.

kw-pr added a commit to kw-pr/PHPPresentation that referenced this pull request Dec 12, 2024
@kw-pr
Copy link
Contributor Author

kw-pr commented Dec 12, 2024

I close this PR in favor of the new solution #833

@kw-pr kw-pr closed this Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

createDrawingShape stopped working in 1.1.0
2 participants